﻿using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ETW.EventListeners.Options
{
    /// <summary>
    /// 事件监听选项
    /// </summary>
    public class EventListenerOptions
    {
        /// <summary>
        /// 运行时事件计数器间隔时间
        /// <para>默认值为1</para>
        /// </summary>
        public int EventCounterIntervalSec { get; set; } = 1;
        /// <summary>
        /// 要启用的事件级别
        /// <para>默认值为 Verbose 所有的事件被记录</para>
        /// </summary>
        public EventLevel EventLevel { get; set; } = EventLevel.Verbose;
        /// <summary>
        /// 启用事件所需的关键字标志
        /// <para>默认值为 All 表示每个可能的事件组</para>
        /// </summary>
        public EventKeywords EventKeywords { get; set; } = EventKeywords.All;
    }
}
